import Vue from "vue";
import App from "./App.vue";
import router from "@/router";
import store from "@/store";
import TypeNav from '@comp/TypeNav'
import Swiper from '@comp/Swiper'
import Pagination from '@comp/Pagination'
import { Button, Dialog, Message } from 'element-ui';
import '@/mock'

Vue.use(Button)
Vue.use(Dialog)

Vue.prototype.$message = Message


Vue.config.productionTip = false;




Vue.component('TypeNav', TypeNav)
Vue.component('Swiper', Swiper)
Vue.component('Pagination', Pagination)

Pagination
new Vue({
  render: (h) => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  router,
  store
}).$mount("#app");
